<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>企业工厂 -- 为你的工作贡献力量</title>
</head>
<style>
@import url(/image/style-0.css);
@import url(/image/style-1.css);
@import url(/image/style-2.css);
@import url(/image/style-mini.css);
</style>
<script src="<?=$style?>/image/jquery.js"></script>
<script src="<?=$style?>/image/common-0.js"></script>
<script src="<?=$style?>/image/common-1.js"></script>
<body>
<!--	一级命名部分	-->
<? if($code === 'succ'){ ?>
<script>
window.location = '/home';
</script>
<? }else{ ?>
<div id="mini-win">
<h6>这里是需要登陆的</h6>

	<form action="/user/login" method="post">
    <div>
        <div class="form">
            <p><input id="login-email" type="text" name="email" class="blur" value="Email地址" onBlur="$(this).addClass('blur'); if($(this).val().length==0) $(this).val('Email地址');" onFocus="$(this).removeClass('blur'); $(this).val('');" /></p>
            <p><input id="login-pw-dis" type="text" class="blur" value="密码" onFocus="$(this).next().show(); $(this).hide(); $(this).next().focus();"/><input id="login-password" name="password" type="password" onBlur="if($(this).val().length==0){ $(this).prev().show(); $(this).hide(); } "/></p>
        </div>
    </div>
    <div>
        <button type="submit" class="button" onClick="">确认</button>
        <button class="cancle">忘记密码</button>
    </div>
	</form>
<script>
$('#login-password').hide();
</script>
<? } ?>
<div id="message"></div>
<div id="wind">
</div>
<div id="wind-bg">
</div>
<div id="wind-border">
</div>
<div id="loading"><img src="/image/loading.gif" width="42" /><div></div></div>
</body>
</html>